package com.gitee.llj.shiro.service;

import com.gitee.llj.entity.sys.SysUser;
import com.gitee.llj.tools.base.ResultModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author llj
 * @since 2018-03-16
 */
@FeignClient("llj-api")
public interface ISysUserService{

    @PostMapping("/api/sysuser/info-by-username")
    ResultModel<SysUser> getUserInfoByUserName(@RequestParam("username") String username);
}
